<template>
  <div>
    <Preloader />

    <div class="page-wrapper">
      <Header />
      <router-view />
      <Footer />
    </div>
    <MobileHeader />
    <MiniCart :goods="goods" @getCarts="getCarts" />
    <SearchPopup />
    <ScrollTop />
  </div>
</template>

<script>
export default {
  data() {
    return {
      goods: null,
      carts: null,
    };
  },
  methods: {
    getCarts(val) {
      this.carts = val;
    },
  },
};
</script>

<style scoped>
</style>